package proxy

import (
	"context"
	"go-rpc-2/rpc/encoding_protocol"
)

type Proxy interface {
	Invoke(ctx context.Context, req *encoding_protocol.Request) *encoding_protocol.Response
}

type Service interface {
	Name() string
}
